package com.horsen.service.edu.model.VO;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 视频 VO
 *
 * @author Horsen
 */
@Data
public class VideoVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("视频ID")
    private String id;

    @ApiModelProperty("章节ID")
    private String chapterId;

    @ApiModelProperty("节点名称")
    private String title;

    @ApiModelProperty("是否可以试听(0收费,1免费)")
    private Boolean free;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("云端视频资源")
    private String videoSourceId;

    @ApiModelProperty("节点类型(cha章节,vid视频)")
    private final String name = "vid";
}
